package com.iot.service;

import com.iot.domain.Album;
import com.iot.domain.MvFile;
import org.csource.common.MyException;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface FastDfsService {


    /*封装实体的对象*/
    public List<MvFile> getMvFile(List<MultipartFile>  file) throws IOException;



    //上传文件到 将前台发送来的文件的数据 进行处理为 实体类
    public  void  uploadFile(Album album , List<MultipartFile>  files) throws IOException, MyException;



    //上传图片到指定的相册

    public  void uploadFileByName(String name,List<MultipartFile> files) throws IOException, MyException;




}
